from django.conf import settings
from django.conf.urls.static import static
from django.urls import path, include

urlpatterns = [
                  # path('admin/', admin.site.urls),
                  path('api/auth/', include('apps.oaauth.urls')),
                  path('api/absent/', include('apps.absent.urls')),
                  path('api/inform/', include('apps.inform.urls')),
                  path('api/staff/', include('apps.staff.urls')),
                  path('api/image/', include('apps.image.urls')),
                  path('api/home/', include('apps.home.urls')),
              ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
